<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- 使用ejs模板引擎的include引入导航栏 -->
    <%- include("menu"); %>

    <h2>会员登录</h2>

    <form action="/doLogin" method="post">
        账号: <input type="text" name="uname"/> <br/><br/>
        密码: <input type="password" name="upass"/> <br/><br/>
        <input type="submit" value="登录"/>
        <input type="reset" value="重置"/>
    </form>
    <span style="color:red"><%= errinfo  %></span>
    <br/><br/>
    测试账号：zhangsan：123456

</body>
</html>